

@font-face {
  font-family: "icons-turn-arrow";
  src: url('../../fonts/icons/iconfont.eot');
  /* IE9*/
  src: url('../..//fonts/icons/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('../../fonts/icons/iconfont.woff') format('woff'), /* chrome、firefox */
  url('../../fonts/icons/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url('../../fonts/icons/iconfont.svg#iconfont') format('svg');
  /* iOS 4.1- */
}

/* stage -- start */

.stage {
  position: relative;
  width: 100%;
  height: 100%;
}

/* stage -- start */

/* image -- start */
.img-sec {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;

  perspective: 1800px;

  background-color: #ddd;

  // @at-root {

    .img-figure {
      position: absolute;


      width: 320px;
      // height: 360px;
      height: 520px;
      margin: 0;
      padding: 40px 10px;

      background-color: #fff;

      box-sizing: border-box;
      cursor: pointer;
      transform-style: preserve-3d;
      transition: transform .6s ease-in-out,left .6s ease-in-out,top .6s ease-in-out;
      box-shadow: 2px 2px 5px;
      transform-origin: 0 50% 0;

      &.is-inverse{
        transform: rotateY(180deg) translateX(-100%);
      }
      img {
        width: 100%;
        height: auto;
      }

    }

    figcaption {
      text-align: center;


      .img-title {
        margin: 20px 0 0 0;

        color:#a7a0a2;
        font-size: 16px;
      }

      .img-back{

        background-color: rgba(255,255,255,0.9);
        transform: rotateY(180deg) translateZ(1px);
        position: absolute;
        left: 0;
        top: 0;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding: 50px 40px;
        overflow: auto;
        font-size: 25px;
        line-height: 1.25;
        text-align: left;
        word-wrap: break-word;

        backface-visibility: hidden;

        p {
          margin: 0;
        }

      }
    }
  // }

}
/* image -- end */

/* controller --start */
.controller-nav {
  position: absolute;
  left: 0;
  bottom:30px;
  z-index: 101;

  width: 100%;
  text-align: center;

  // @at-root {
    .controller-unit {
      display: inline-block;
      margin: 0 5px;
      width: 30px;
      height: 30px;

      text-align: center;
      cursor: pointer;
      background-color: #aaa;
      border-radius: 50%;
      vertical-align: middle;

      transform: scale(.5);
      transition: transform .6s ease-in-out,background-color .3s;
      &.is-center {
        transform: scale(1);
        background-color: #888;

        &::after{
          color: #fff;
          content: "\e600";

          font-family: "icons-turn-arrow" !important;
          font-style: normal;
          line-height: 30px;
          font-size: 80%;

          -webkit-font-smoothing:  antialiased;
          -moz-font-smoothing: grayscale;

        }

        &.is-inverse {
          background-color: #555;
          transform: rotateY(180deg);
        }
      }
    }
  // }
}
/* controller --end */
